﻿using System;

namespace Basmus.Conel
{
    public abstract class Binding
    {
        public Type ElementType { get; private set; }

        public abstract object[] GetElements(object container);

        public abstract object GetContainer(object[] elements);

        protected Binding(Type elementType)
        {
           ElementType = elementType;
        }
    }
}